/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package shaman.storage.impl.file;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import java.util.List;
import shaman.storage.api.Filter;

/**
 *
 * @author dmitriy
 */

@XStreamAlias("metadata")
public class FileBackupMetadata implements Cloneable {

    public static int VERSION_1=1;
    
    @XStreamAsAttribute
    @XStreamAlias("version")
    private int version=VERSION_1;

    @XStreamAlias("preprocessors")
    public List<Filter> preprocessors;

    @XStreamAlias("mainFilters")
    public List<Filter> mainFilters;
    
    @XStreamAlias("postprocessors")
    public List<Filter> postprocessors;

    @XStreamAlias("partSizeLimit")
    public long partSizeLimit;

    @XStreamAlias("blockSizeLimit")
    public long blockSizeLimit;
    
    public int getVersion() {
        return version;
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

}
